<div class="updates">
		<h2>Updates</h2>
		<ul>
			<?php 
			if ($records){
				$counter = 0;
				foreach ($records as $row){
				if($counter < 5){
			?>
					<li><?php echo $row->entry_date;?> &nbsp; <?php echo anchor("/codingfrenzy/entry/$row->entry_id/$row->entry_name/",$row->entry_name); ?></li>
			<?php 
				$counter = $counter + 1;
				}
				}
			}
			?>
		</ul>
</div>
